import request from '@/utils/request.js'

export const addBookAPI = function (name) {
  return request({
    url: 'books',
    method: 'post',
    data: {
      name
    }
  })
}
